<%@ page contentType="text/html" pageEncoding="UTF-8"%>
<% response.setContentType("text/html; charset=UTF-8");%>
<% request.setCharacterEncoding("utf-8");%>

<%
    HttpSession ss = request.getSession(false);
    if (ss != null) {
        ss.setAttribute("isLogin", false);
        ss.invalidate(); // destroy session
    }
    response.sendRedirect("index.jsp");
%>